package com.qiaoyanqing.textdemoqyq7.Activities;

import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.qiaoyanqing.textdemoqyq7.R;

public class CollectionActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_collection);

    }


    //点击跳回mainactivity
    public void backMA(View view) {
        Intent intent=new Intent(CollectionActivity.this,MainActivity.class);
        startActivity(intent);
        finish();
    }
    //点击跳回mainactivity
    public void homeclick(View view) {
        Intent intent=new Intent(CollectionActivity.this,MainActivity.class);
        startActivity(intent);
        finish();
    }
 //版本信息
    public void versionInfo(View view) {
      Intent intent=new Intent(CollectionActivity.this,VersionActivity.class);
        startActivity(intent);
        finish();

    }
   //意见反馈
    public void Suggest(View view) {
        Intent intent=new Intent(CollectionActivity.this,SuggestActivity.class);
        startActivity(intent);
        finish();

    }
   //收藏夹
    public void SQLData(View view) {
        Intent intent=new Intent(CollectionActivity.this,ShoucangActivity.class);
        startActivity(intent);
        finish();


    }

    //访问记录
    public void history(View view) {
        Intent intent=new Intent(CollectionActivity.this,HistoryActivity.class);
        startActivity(intent);
        finish();

    }
 // 搜索
    public void searchclick(View view) {
        Intent intent=new Intent();
        intent.setData(Uri.parse("https://www.baidu.com/"));
        startActivity(intent);

    }
}
